encoding/json.decodeState.off (field)
22 uses
encoding/json (current package)
decode.go#L215: off int // next read offset in data
decode.go#L226: return d.off - 1
decode.go#L236: d.off = 0
decode.go#L272: s, data, i := &d.scan, d.data, d.off
decode.go#L278: d.off = i
decode.go#L287: if d.off < len(d.data) {
decode.go#L288: d.opcode = d.scan.step(&d.scan, d.data[d.off])
decode.go#L289: d.off++
decode.go#L292: d.off = len(d.data) + 1 // mark processed EOF with len+1
decode.go#L299: s, data, i := &d.scan, d.data, d.off
decode.go#L305: d.off = i
decode.go#L310: d.off = len(data) + 1 // mark processed EOF with len+1
decode.go#L323: data, i := d.data, d.off
decode.go#L357: d.off = i + 1
decode.go#L513: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L516: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L534: d.saveError(&UnmarshalTypeError{Value: "array", Type: v.Type(), Offset: int64(d.off)})
decode.go#L610: return u.UnmarshalJSON(d.data[start:d.off])
decode.go#L613: d.saveError(&UnmarshalTypeError{Value: "object", Type: v.Type(), Offset: int64(d.off)})
decode.go#L643: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L655: d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
decode.go#L844: return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeFor[float64](), Offset: int64(d.off)}